package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 排位详细
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("staff_ranking_detail")
@ApiModel(value = "StaffRankingDetail对象", description = "排位详细")
public class StaffRankingDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("员工(教师)id")
    private Long staffId;

    @ApiModelProperty("员工(教师)名称")
    private String staffName;

    @ApiModelProperty("排位名称（对应staff_ranking表id）")
    private Long staffRankingId;

    @ApiModelProperty("排位名序（如：第一名为：1，第二名为：2）")
    private Integer rankingNum;

    private Integer deleted;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getStaffId() {
        return staffId;
    }

    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }
    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }
    public Long getStaffRankingId() {
        return staffRankingId;
    }

    public void setStaffRankingId(Long staffRankingId) {
        this.staffRankingId = staffRankingId;
    }
    public Integer getRankingNum() {
        return rankingNum;
    }

    public void setRankingNum(Integer rankingNum) {
        this.rankingNum = rankingNum;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    public String toString() {
        return "StaffRankingDetail{" +
            "id=" + id +
            ", staffId=" + staffId +
            ", staffName=" + staffName +
            ", staffRankingId=" + staffRankingId +
            ", rankingNum=" + rankingNum +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
        "}";
    }
}
